﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    [Table("BreedModel")]
    public class BreedModel:BaseEntity
    {
        /// <summary>
        /// 品种
        /// </summary>
        [StringLength(20)]
        public string Kindname { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        [StringLength(20)]
        public string Form { get; set; }

        /// <summary>
        /// 饲养天数(周期)
        /// </summary>
        public float Cycle { get; set; }

        /// <summary>
        /// 饲料品牌
        /// </summary>
        [StringLength(20)]
        public string Foodbrand { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        [StringLength(20)]
        public string Breeders { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime Endtime { get; set; }

        /// <summary>
        /// 接种信息(序列化)
        /// </summary>
        public string Vaccinateinfo { get; set; }

        /// <summary>
        /// 动检证(图片路径)
        /// </summary>
        public string Check { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        [StringLength(20)]
        public string Farm { get; set; }

        /// <summary>
        /// 场地负责人
        /// </summary>
        [StringLength(20)]
        public string Farmer { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public float Number { get; set; }

        /// <summary>
        /// 企业照片(图片路径)
        /// </summary>
        public string Companyphoto { get; set; }
    }
}
